home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Top 100 Games
/
Top 100 Games.iso
/
sb
/
SB.BAT
next >
Wrap
DOS Batch File
|
1997-10-31
|
681b
|
40 lines
@echo off
cls
if x%1 == xinstall goto install
if x%1 == xreins goto reins
if not exist c:\ts\sb\sb.exe goto temp
:install
if exist c:\ts\sb\sb.exe goto insready
:reins
if exist c:\ts\ts goto install2
md c:\ts > NUL:
echo ts > c:\ts\ts
:install2
md c:\ts\sb > NUL:
\pkunzip -o sb.zip c:\ts\sb > NUL:
:insready
c:
cd \ts\sb
sb.exe
goto einde
:temp
md c:\ts_tmp > NUL:
if not exist c:\ts_y copy \y c:\ts_y > NUL:
\pkunzip -o sb.zip c:\ts_tmp > NUL:
c:
cd \ts_tmp
sb.exe
c:
cd \
del c:\ts_tmp\*.* < c:\ts_y > NUL:
rd c:\ts_tmp
del c:\ts_y > NUL:
goto einde
:einde
@echo off
cls